<!doctype html>
<html lang="zh-CN">
<!-- Head -->
<head>
<title>{if $SEO['title']}{echo $SEO['title']} - {/if}{echo C('sitename')}{if C('sitebanner')} - {echo C('sitebanner')}{/if}</title>
<meta name="keywords" content="{if $SEO['keywords']}{echo $SEO['keywords']}{/if}" />
<meta name="description" content="{if $SEO['description']}{echo $SEO['description']}{/if}" />
<meta http-equiv="Content-Type" content="text/html; charset={echo C('S_CHARSET')}" />
<meta name="author" content="FoxPHP" />
<meta name="copyright" content="2006-2016 FoxPHP.Com" />
<link rel="shortcut icon" href="/assets/img/favicon.png" type="image/x-icon">
{if !empty($task['robots'])}
<META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
{/if}
{template Public:Page:css}
{template Public:Page:js}

<link href="{echo AURL}/css/install.css" rel="stylesheet" />

</head>
<!-- /Head -->
<!-- Body -->
<body>
    <!-- Loading Container -->
    <div class="loading-container">
        <div class="loading-progress">
            <div class="rotator">
                <div class="rotator">
                    <div class="rotator colored">
                        <div class="rotator">
                            <div class="rotator colored">
                                <div class="rotator colored"></div>
                                <div class="rotator"></div>
                            </div>
                            <div class="rotator colored"></div>
                        </div>
                        <div class="rotator"></div>
                    </div>
                    <div class="rotator"></div>
                </div>
                <div class="rotator"></div>
            </div>
            <div class="rotator"></div>
        </div>
    </div>
    <!--  /Loading Container -->

	<div class="container-fluid header">
     
     <div class="container">
     
 	<div class="row">
 
     <div class="header_ad">
     </div>
     </div>
     
     <div class="row padding_pt_20">
     <div class="col-lg-2">
     <div class="row">
     <div class="header_logo"><a href="/" title="{echo C('sitename')}"></a></div>
     </div>
     </div>
     
     <div class="col-lg-2">
     <div class="slogan">
     安装系统
     </div>
     </div>

     
     </div>
     </div>
     </div>


<div class="container">
  <div class="row" style="padding-top:20px;">

   	<div style="background:#FFF" class="well">
        
        <div class="row">
              <div class="col-lg-12 col-sm-12 col-xs-12">
                <div class="wizard wizard-wired">
                  <ul class="steps">
                    <li data-target="#wiredstep1" class="complete"><span class="step">1</span><span class="title">接受FoxPHP协议</span> <span class="chevron"></span></li>
                    <li data-target="#wiredstep2" class="active"><span class="step">2</span><span class="title">检测安装环境</span> <span class="chevron"></span></li>
                    <li data-target="#wiredstep3"><span class="step">3</span><span class="title">安装配置</span> <span class="chevron"></span></li>
                    <li data-target="#wiredstep4"><span class="step">4</span><span class="title">安装中</span> <span class="chevron"></span></li>
                    <li data-target="#wiredstep5"><span class="step">5</span><span class="title">安装完成</span> <span class="chevron"></span></li>
                  </ul>
                </div>
              </div>
        </div>
    
            <br>
        <div class="row"> 
        <div class="col-lg-10 col-lg-offset-1"> 
        
			<table class="table table-hover">
                                    <thead>
                                        <tr>
                                            <th width="23%">
                                               安装环境检查
                                            </th>
                                            <th width="23%">
                                               最佳推荐
                                            </th>
                                            <th width="23%">
                                               所需配置
                                            </th>
                                            <th>
                                               当前服务器
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td width="23%">
                                               操作系统
                                            </td>
                                            <td width="23%">
                                               Linux
                                            </td>
                                            <td width="23%">
                                               不限
                                            </td>
                                            <td>
                                               <span class="fa  fa-check-circle text-success" style="font-size:16px;"></span> {echo PHP_OS}
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                               PHP 版本
                                            </td>
                                            <td>
                                                5.6以上
                                            </td>
                                            <td>
                                                5.3
                                            </td>
                                            <td>
                                               {if phpversion()<5.3}<span class="fa fa-times-circle text-danger" style="font-size:16px;"></span>{else}<span class="fa  fa-check-circle text-success" style="font-size:16px;"></span>{/if} {echo phpversion()}
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                GD 库
                                            </td>
                                            <td>
                                                2.0以上
                                            </td>
                                            <td>
                                               2.0
                                            </td>
                                            <td>
                                              {if !function_exists('gd_info')}<span class="fa fa-times-circle text-danger" style="font-size:16px;"></span>{else}<span class="fa  fa-check-circle text-success" style="font-size:16px;"></span>{/if} {echo $gd}
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                MySQL支持
                                            </td>
                                            <td>
                                              MySQL 5.5以上
                                            </td>
                                            <td>
                                              MySQL 5.0
                                            </td>
                                            <td>
                                              {if !function_exists('mysql_connect')}<span class="fa fa-times-circle text-danger" style="font-size:16px;"></span>{else}<span class="fa  fa-check-circle text-success" style="font-size:16px;"></span>{/if}  {echo $mysql}
                                            </td>
                                        </tr>
                                        
                                       <tr>
                                            <td>
                                               Curl支持
                                            </td>
                                            <td>
                                               7.0以上
                                            </td>
                                            <td>
                                               建议开启
                                            </td>
                                            <td>
                                               {if !function_exists('curl_init')}<span class="fa fa-times-circle text-danger" style="font-size:16px;"></span>{else}<span class="fa  fa-check-circle text-success" style="font-size:16px;"></span>{/if} {echo $curl}
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td>
                                               fsockopen支持
                                            </td>
                                            <td>
                                               1.0以上
                                            </td>
                                            <td>
                                               需要开启
                                            </td>
                                            <td>
                                            {if !function_exists('fsockopen')}<span class="fa fa-times-circle text-danger" style="font-size:16px;"></span>{else}<span class="fa  fa-check-circle text-success" style="font-size:16px;"></span>{/if}
                                                
                                            </td>
                                        </tr>
                                        
                                         
                                        <tr>
                                            <td>
                                               php_fileinfo支持
                                            </td>
                                            <td>
                                               1.0以上
                                            </td>
                                            <td>
                                               需要开启
                                            </td>
                                            <td>
                                            {if !function_exists('finfo_open')}<span class="fa fa-times-circle text-danger" style="font-size:16px;"></span>{else}<span class="fa  fa-check-circle text-success" style="font-size:16px;"></span>{/if}
                                                
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                                
                                <br><br>
                                
                                <table class="table table-hover">
                                    <thead>
                                        <tr>
                                            <th width="46%" colspan="2">
                                               目录路径权限
                                            </th>
                                            <th width="23%">
                                               要求
                                            </th>
                                            <th>
                                               权限可写
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                    {if $dirlist}
                                    	{foreach $dirlist $dir}
                                        <tr>
                                            <td width="46%" colspan="2">
                                               {echo $dir['path']}
                                            </td>
                                            <td width="23%">
                                               需要可写
                                            </td>
                                            <td>
                                               {if $dir['status']!='ok'}<span class="fa fa-times-circle text-danger" style="font-size:16px;"></span>{else}<span class="fa  fa-check-circle text-success" style="font-size:16px;"></span>{/if}
                                            </td>
                                        </tr>
                                        {/foreach}
                                     {/if}
                               </tbody>
                             </table>

         </div>
         </div>  
  		<br>
                 

        
		
          
		<div class="row">
               <div class="col-lg-11 col-lg-offset-1">
               	<div class="row"><a class="btn btn-default" href="/install">上一步</a> <a class="btn btn-success" href="/install/config">下一步</a></div>
               </div>
            </div>

</div>


<script>							
$(function(){
	
			
});	   

</script>


</div>
</div>



<div class="container-fluid footer">
  <div class="container">

    <div class="row text-center">                  
     <div class="breadcrumb">
     <li><a href="http://www.foxphp.com">FoxPHP官方网</a></li> 
     <li><a href="http://www.foxphp.com/product">FoxPHP介绍</a></li>
     <li><a href="http://www.foxphp.com/buy">购买FoxPHP授权</a></li>
     <li><a href="http://demo.foxphp.com">FoxPHP威客系统演示</a></li>
     <li><a href="http://www.foxphp.com/contact">联系方式</a></li>
     </div>
 	<p class="text-center">Copyright © 2006-{echo FormatDate("Y",NowTime())} FoxPHP.Com 版权所有 {if C('siteicp')}<a href="http://www.miibeian.gov.cn" target="_blank">{echo C('siteicp')}</a>{/if}  {if C('sitecount')}{echo C('sitecount')}{/if}</p>
           
    </div>
    </div>
</div>  


<script src="/assets/js/socket.io/socket.io.js"></script>
<script src="/assets/js/footer.js"></script>
</body><!--  /Body -->
</html>